package com.carsystems.mapper;


import com.carsystems.pojo.AdminUser;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.util.List;

@Mapper
@Repository
public interface AdminUserMapper {

//     AdminUser Login(String ad_number , String ad_password);

    List<AdminUser> queradminUserList();

    AdminUser queradminUserByPrimaryKey(Integer admin_id);


    Integer addAdminUser(AdminUser adminUser);

    Integer updateAdminUser(AdminUser adminUser);

    int deleteAdminUser(Integer admin_id);


    AdminUser findAdmin(String ad_number);
}
